package com.tansun.ruledata.data.service;

import java.util.Collection;
import java.util.List;
import java.util.Map;

import com.tansun.rule.pojo.EnterPoint;
import com.tansun.rule.utils.MClass;
import com.tansun.ruledata.data.entity.DeployReferenceData;
import com.tansun.ruledata.data.entity.DeployVersionInfo;

public interface RuleDeployResourceService {

	Map<String, MClass> findMapping(String projectCode);
	
	List<String> findClusterHosts(String  type);
	
	Map<String,EnterPoint>  findEnterPoint(String ruleObjectName,String invokePoint);
	
	List<DeployVersionInfo> findDeployedRuleFlow(String ruleObjectName, String invokePoint);
	
	 Map<String,Collection<DeployVersionInfo>> findLatestRuleVersion(String ruleObjectName, String invokePoint);

	String findEffectiveFunc(String projectCode);

	Map<String, String> findRuleReleByProjectCode(String projectCode);

	Map<String, String> findPmmlByProjectCode(String projectCode);

	Map<String, Map<String, DeployReferenceData>> findPmmlRefByProjectCode(String projectCode);

	Map<String, List<EnterPoint>> findAllEnterPoint();

}
